Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / InvalidContentControlParentChildException Class / InvalidContentControlParentChildException Constructor / InvalidContentControlParentChildException Constructor(ContentControl,ContentObject,Type[])
The content control inside wich trying to insert.
The parent content object inside the content control where to insert the child content object.
The allowed child types to insert.

In This Topic
    InvalidContentControlParentChildException Constructor(ContentControl,ContentObject,Type[])
    In This Topic
    Initializes a new instance of the InvalidContentControlParentChildException class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal contentControl As ContentControl, _
       ByVal parent As ContentObject, _
       ByVal allowedChildTypes() As System.Type _
    )
    public InvalidContentControlParentChildException( 
       ContentControl contentControl,
       ContentObject parent,
       System.Type[] allowedChildTypes
    )

    Parameters

    contentControl
    The content control inside wich trying to insert.
    parent
    The parent content object inside the content control where to insert the child content object.
    allowedChildTypes
    The allowed child types to insert.
    See Also